/**
 * 
 */
package com.org.javabody.array.arraylist;

import java.util.ArrayList;
import java.util.List;

/**
 * @author admin
 *
 */
public class ArrayListDemo {

	
	public List<String> getList() {
		List<String> arr = new ArrayList();
		String a = "1";
		String b ="2";
		arr.add(a+";"+b);
		return arr;
	}
	
	/**
	 * @param args
	 */
	public static void main(String[] args) {
		ArrayListDemo de = new ArrayListDemo();
		List<String> arr = de.getList();
		for(int i=0; i< arr.size(); i++) {
			System.out.println(arr.get(i));
		}

	}

}
